Platform Explorer / Nuxeo Platform LTS 2017 9.10

Component org.nuxeo.ecm.liveconnect.box.core.BoxComponent

Documentation

Management of Box configuration.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.liveconnect.box.core.BoxComponent" version="1.0.0">

  <require>org.nuxeo.ecm.core.blob.BlobManager</require>
  <require>org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderRegistry</require>

  <documentation>
    Management of Box configuration.
  </documentation>

  <extension target="org.nuxeo.ecm.platform.oauth2.providers.OAuth2ServiceProviderRegistry" point="providers">
    <provider>
      <name>box</name>
      <description>Box</description>
      <class>org.nuxeo.ecm.liveconnect.box.BoxOAuth2ServiceProvider</class>
      <tokenServerURL>https://app.box.com/api/oauth2/token</tokenServerURL>
      <authorizationServerURL>https://app.box.com/api/oauth2/authorize?response_type=code</authorizationServerURL>
      <clientId>${nuxeo.box.clientId:=}</clientId>
    </provider>
  </extension>

  <extension target="org.nuxeo.ecm.core.blob.BlobManager" point="configuration">
    <blobprovider name="box">
      <class>org.nuxeo.ecm.liveconnect.box.BoxBlobProvider</class>
      <property name="clientId">${nuxeo.box.clientId:=}</property>
    </blobprovider>
  </extension>

</component>